<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<jsp:include page="Left.jsp"></jsp:include>
<form id='fmTbPost'  action='TbPostServlet' method='post'>
 <input type="hidden" name="method" id="method" value="${sessionScope.PostId==null?'add':'edit'}" />
 <input type='text' name='postId' id='postId' value='${sessionScope.tbPost.postId }' />
<table>
<tr><td colspan='2'></td></tr>
<tr>
    <td>职位名称</td>
    <td><input type='text' name='postName' id='postName' value='${sessionScope.tbPost.postName }' /></td>
</tr>
<tr>
    <td>职位备注</td>
    <td><input type='text' name='postMemo' id='postMemo' value='${sessionScope.tbPost.postMemo }' /></td>
</tr>
<tr>
    <td>创建时间</td>
    <td><input type='text' name='createTime' id='createTime' value='${sessionScope.tbPost.createTime }' /></td>
</tr>
<tr>
    <td  align="center" colspan='2' ><input type="submit" name="btsubmit" id="btsubmit" value="${param.PostId==null?'添加':'修改'}" /><input type='reset' value='重置' /><input type='button' value='返回' onclick='history.go(-1);' /></td>
</tr></table>
</form><jsp:include page="../foot.jsp"></jsp:include>
</body></html>